package mysql

import "gorm.io/gorm"

type Useradd struct {
	gorm.Model
	Image    string `json:"image" gorm:"type:varchar(200);comment:'头像'"`
	Account  string `json:"account" gorm:"type:varchar(11);not null;comment:'账号名称'"`
	Name     string `json:"name" gorm:"type:varchar(30);not null;comment:'昵称'"`
	Sex      string `json:"sex" gorm:"varchar(5);comment:'性别'"`
	BirthDay string `json:"birthDay" gorm:"type:varchar(100);comment:'生日'"`
	UserId   int    `json:"userId" gorm:"type:int(10)"`
}
